package com.industrial.operation.mapper;

import com.industrial.operation.domain.gxhzb.OperationKfqScoreValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 开发区考核分数和得分Mapper接口
 *
 * @author ruoyi
 * @date 2024-02-20
 */
public interface OperationKfqScoreValueMapper
{
    /**
     * 查询开发区考核分数和得分
     *
     * @param baseId 开发区考核分数和得分主键
     * @return 开发区考核分数和得分
     */
    public OperationKfqScoreValue selectOperationKfqScoreValueByBaseId(String baseId);

    /**
     * 查询开发区考核分数和得分列表
     *
     * @param operationKfqScoreValue 开发区考核分数和得分
     * @return 开发区考核分数和得分集合
     */
    public List<OperationKfqScoreValue> selectOperationKfqScoreValueList(OperationKfqScoreValue operationKfqScoreValue);

    /**
     * 新增开发区考核分数和得分
     *
     * @param operationKfqScoreValue 开发区考核分数和得分
     * @return 结果
     */
    public int insertOperationKfqScoreValue(OperationKfqScoreValue operationKfqScoreValue);

    /**
     * 修改开发区考核分数和得分
     *
     * @param operationKfqScoreValue 开发区考核分数和得分
     * @return 结果
     */
    public int updateOperationKfqScoreValue(OperationKfqScoreValue operationKfqScoreValue);

    /**
     * 删除开发区考核分数和得分
     *
     * @param baseId 开发区考核分数和得分主键
     * @return 结果
     */
    public int deleteOperationKfqScoreValueByBaseId(String baseId);

    /**
     * 批量删除开发区考核分数和得分
     *
     * @param baseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOperationKfqScoreValueByBaseIds(String[] baseIds);

    void batchInsertScore(@Param("list") List<OperationKfqScoreValue> scoreValuesList);

    List<Map<String, Object>> selectOperationKfqScoreValueByPkId(OperationKfqScoreValue params);

    void batchUpdateScore(@Param("list") List<OperationKfqScoreValue> updateScoreValuesList);

    void batchUpdateValue(List<OperationKfqScoreValue> updateScoreValuesList);

    void batchUpdateById(@Param("list") List<OperationKfqScoreValue> updateList);

    void deleteOperationKfqInfoByPkId(String[] baseIds);
}